/****************************************************************************************
 * Copyright (c) 2010~2012 All Rights Reserved by
 * G-Net Integrated Service Co., Ltd. 
 ****************************************************************************************/
package com.kingtone.rongji.biz;

import java.util.ArrayList;

/**   
 * @Title:  PromotionCode.java 
 * @author: wenhui.li 
 * @date:   2015-5-11 下午4:25:33   
 */

	/*
	 {
      "Amount": 100.0000,
      "CouponName": "APP测试的满100可用",
      "Description": "APP测试的满100可用,减去30",
      "Discount": 50.0000,
      "EnabledTimes": 1,
      "EndTime": "\/Date(1432088400000+0800)\/",
      "LimitAmountType": 0,
      "LimitRegionType": 0,
      "PromotionCode": "AppTestYouHuiQUan   ",
      "PromotionCodeCustomerList": null,
      "PromotionCodeItemList": [
        
      ],
      "PromotionType": 0,
      "StartDate": "\/Date(1431310800000+0800)\/",
      "ThirdCardId": null,
      "CodeDiscount": 30.00,
      "FriendUserName": null,
      "IsGiveByFriend": false,
      "OrderNumber": null,
      "ReceiveDate": "\/Date(1431313977637+0800)\/",
      "Status": 0,
      "ThirdUserHeader": null,
      "ThirdUserId": null,
      "ThirdUserName": null,
      "UseDate": null,
      "UserCardCode": null,
      "UserId": 3098
    }
	*/
	public class PromotionCode
	{
		private double Amount = 0.0;
		private String CouponName;
		private String Description;
		private double Discount;
		private int EnabledTimes;
		private String EndTime;
		private int LimitAmountType;
		private int LimitRegionType;
		private String PromotionCode;
		private int PromotionType;
		private String StartDate;
		private String ThirdCardId;
		private double CodeDiscount;
		private String FriendUserName;
		private boolean IsGiveByFriend;
		private String OrderNumber;
		private String ReceiveDate;
		
		public ArrayList<PromotionCodeItem> getPromotionCodeItemList()
		{
			return PromotionCodeItemList;
		}
		public void setPromotionCodeItemList(ArrayList<PromotionCodeItem> promotionCodeItemList)
		{
			PromotionCodeItemList = promotionCodeItemList;
		}
		private int Status;
		private String UserCardCode;
	    private int UserId;
	    private ArrayList<PromotionCodeItem> PromotionCodeItemList;
	    
		public double getAmount()
		{
			return Amount;
		}
		public void setAmount(double amount)
		{
			Amount = amount;
		}
		public String getCouponName()
		{
			return CouponName;
		}
		public void setCouponName(String couponName)
		{
			CouponName = couponName;
		}
		public String getDescription()
		{
			return Description;
		}
		public void setDescription(String description)
		{
			Description = description;
		}
		public double getDiscount()
		{
			return Discount;
		}
		public void setDiscount(double discount)
		{
			Discount = discount;
		}
		public int getEnabledTimes()
		{
			return EnabledTimes;
		}
		public void setEnabledTimes(int enabledTimes)
		{
			EnabledTimes = enabledTimes;
		}
		public String getEndTime()
		{
			return EndTime;
		}
		public void setEndTime(String endTime)
		{
			EndTime = endTime;
		}
		public int getLimitAmountType()
		{
			return LimitAmountType;
		}
		public void setLimitAmountType(int limitAmountType)
		{
			LimitAmountType = limitAmountType;
		}
		public int getLimitRegionType()
		{
			return LimitRegionType;
		}
		public void setLimitRegionType(int limitRegionType)
		{
			LimitRegionType = limitRegionType;
		}
		public String getPromotionCode()
		{
			return PromotionCode;
		}
		public void setPromotionCode(String promotionCode)
		{
			PromotionCode = promotionCode;
		}
		public int getPromotionType()
		{
			return PromotionType;
		}
		public void setPromotionType(int promotionType)
		{
			PromotionType = promotionType;
		}
		public String getStartDate()
		{
			return StartDate;
		}
		public void setStartDate(String startDate)
		{
			StartDate = startDate;
		}
		public String getThirdCardId()
		{
			return ThirdCardId;
		}
		public void setThirdCardId(String thirdCardId)
		{
			ThirdCardId = thirdCardId;
		}
		public double getCodeDiscount()
		{
			return CodeDiscount;
		}
		public void setCodeDiscount(double codeDiscount)
		{
			CodeDiscount = codeDiscount;
		}
		public String getFriendUserName()
		{
			return FriendUserName;
		}
		public void setFriendUserName(String friendUserName)
		{
			FriendUserName = friendUserName;
		}
		public boolean isIsGiveByFriend()
		{
			return IsGiveByFriend;
		}
		public void setIsGiveByFriend(boolean isGiveByFriend)
		{
			IsGiveByFriend = isGiveByFriend;
		}
		public String getOrderNumber()
		{
			return OrderNumber;
		}
		public void setOrderNumber(String orderNumber)
		{
			OrderNumber = orderNumber;
		}
		public String getReceiveDate()
		{
			return ReceiveDate;
		}
		public void setReceiveDate(String receiveDate)
		{
			ReceiveDate = receiveDate;
		}
		public int getStatus()
		{
			return Status;
		}
		public void setStatus(int status)
		{
			Status = status;
		}
		public String getUserCardCode()
		{
			return UserCardCode;
		}
		public void setUserCardCode(String userCardCode)
		{
			UserCardCode = userCardCode;
		}
		public int getUserId()
		{
			return UserId;
		}
		public void setUserId(int userId)
		{
			UserId = userId;
		}
		
	}

